#ifndef _GC_URL_READER_H_
#define _GC_URL_READER_H_

#include <string>
#include <vector>
#include <map>
#include <curl/curl.h>
#include "Reader.h"

using namespace std;

namespace great_config {

	class UrlReader : public Reader {
		public:
			UrlReader(const string &config);

			~UrlReader ();

			map<string, string> &getConfig(map<string, string> &map);
		private:
			/**
			 * <host>:<port>:<name>:<user>:<pass>
			 **/
			string _url;

	};
};

#endif
